<?php

/**
 * 自定义看守器。之前采用的是cookie获取session。
 * 使用header的authorized_key进行替代cookie
 */
namespace App\Guards;

use Illuminate\Auth\SessionGuard ;
use Illuminate\Contracts\Auth\UserProvider;
use Illuminate\Contracts\Session\Session;
use Symfony\Component\HttpFoundation\Request;

class ExtendGuard extends SessionGuard
{
    public function __construct($name, UserProvider $provider, Session $session, Request $request = null)
    {
        parent::__construct($name, $provider, $session, $request);
    }
}
